﻿@using HouseHoldBudget.App_GlobalResources
@using Kendo.Mvc.UI

@(Html.Kendo().DropDownList()
            .Name("BudgetCategory") 
            .DataValueField("Id")
            .DataTextField("BudgetCategoryName") 
            .Text(@CustomResources.Common_NotDefined)
            .DataSource(source =>
                            {
                                source.Read(read =>
                                                {
                                                    read.Action("SelectAllBudgetCategories", "Budget").Data("onBudgetCategoryAdditionalData");
                                                });
                            })
            .SelectedIndex(0)                
      )
                